NevronOpenVision
Nevron.Nov.UI Namespace / NDocumentViewWithCommandBars<TView> Class / RemoveCommands Method
In This Topic
    RemoveCommands Method (NDocumentViewWithCommandBars<TView>)
    In This Topic
    Removes the specified commands from the commanding UI.
    Syntax
    public override NList<NWidget> RemoveCommands( 
       params NCommand[] commands
    )

    Parameters

    commands

    Return Value

    A list of widgets which have been collapsed because they are associated with the given commands.
    Remarks
    This implementation collapses (sets Visible property to Collapsed) all widgets associated with the given commands and removes the command actions for the commands from the view's commander, so that keyboard shortcuts don't work, too.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also